<template>
  <div>
    <button @click="$parent.num++">按钮--{{ $parent.num }}</button>
  </div>
</template>
<script>
export default {

}
</script>